package com.oraro.paygatewaybiz.module.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.oraro.paygatewaybiz.module.entity.ChannelEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author jianghuiyong
 * @email 
 * @date 2018-11-16 16:34:25
 */
public interface ChannelService extends IService<ChannelEntity> {

    IPage<ChannelEntity> queryPage(Map<String, Object> params);

    ChannelEntity selectById (Long channelId);

    ChannelEntity selectByMchAndType(Long mchId, String channelType);

    List<String> getChannelType(Long mchId);

    ChannelEntity getChannelByWXMch(String wxMchId, String appId);

    ChannelEntity getChannelByAppId(String appId);

}

